package com.c.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.c.entity.Permission;
import com.c.utils.PageResult;
import com.c.utils.QueryPageBean;
import com.c.utils.Result;

/**
 * @author wangxiangli
 * @create 2022-12-25-12:28
 */
public interface PermissionService extends IService<Permission> {

    //权限分页查询
    PageResult findByPage(QueryPageBean queryPageBean);

    //新增权限
    Result add(Permission permission);

    //根据ID删除权限
    Result deleteById(Integer id);
}
